import http from "@/api/axios";

export const getListApi = (data: QuotationApproval.SearchForm) => {
  return http({
    method: "post",
    url: "/base/biz/quotationApproval/queryPage",
    data
  });
};
export const addQuotationApi = (data: QuotationApproval.RequestFormParmas) => {
  return http({
    method: "post",
    url: "/base/biz/quotationApproval/add",
    data
  });
};
export const editQuotationApi = (data: QuotationApproval.RequestFormParmas) => {
  return http({
    method: "post",
    url: "/base/biz/quotationApproval/edit",
    data
  });
};
export const deleteQuotationApi = (params: { id: string }) => {
  return http({
    method: "delete",
    url: "/base/biz/quotationApproval/deleteById",
    params
  });
};
